﻿<%@ page language="java" import="java.util.*, com.li.bbs.beans.*" pageEncoding="utf-8"%>
<%
	// 获取类别id
	int categoryId = (Integer)request.getAttribute("categoryId");
 %>

<%@ include file="head.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0051)http://www.chinajavaworld.com/forum.jspa?forumID=20 -->
<HTML><HEAD><TITLE>论坛: Java语言*初级版</TITLE>
<META http-equiv=content-type content="text/html; charset=UTF-8"><LINK 
href="<%=basePath%>images/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.5880" name=GENERATOR></HEAD>
<BODY>
<P id=jive-breadcrumbs><EM>» <A 
href="http://www.chinajavaworld.com/category.jspa?categoryID=2">Java 2 Platform, 
Standard Edition (J2SE)</A> » <A 
href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=0">Java语言*初级版</A> 
</EM></P>
<P class=jive-page-title>论坛: Java语言*初级版 </P>
<P class=jive-description>探讨Java语言基础知识，基本语法等。大家一起交流，共同提高。 </P><LINK title=RSS 
href="http://bbs.chinajavaworld.com/rss/rssmessages.jspa?forumID=20" 
type=application/rss+xml rel=alternate>
<SCRIPT language=JavaScript src="<%=basePath%>images/common.js" 
type=text/javascript></SCRIPT>

<DIV id=jive-forumpage>
<DIV class=jive-buttons>
<TABLE cellSpacing=0 cellPadding=0 summary=Buttons border=0>
  <TBODY>
  
  <!--发表新主题以及返回论坛列表区 start-->
  <TR>
    <TD class=jive-icon><A 
      href="http://www.chinajavaworld.com/post!default.jspa?forumID=20"><IMG 
      height=16 alt=发表新主题 src="<%=basePath%>images/post-16x16.gif" width=16 
      border=0></A> </TD>
    <TD class=jive-icon-label><A id=jive-post-thread 
      href="<%=basePath%>servlet/ReplayServlet?mainArtId=0&rootId=0&categoryId=<%=categoryId%>">发表新主题</A> 
    </TD>
    <TD class=jive-icon><A 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;isBest=1"><IMG 
      height=16 src="<%=basePath%>images/ico_best.gif" width=16 align=absMiddle 
      border=0></A></TD>
    <TD class=jive-icon-label><A 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;isBest=1">精华区</A> 
    </TD>
    <TD class=jive-icon><A 
      href="http://www.chinajavaworld.com/index.jspa"><IMG height=16 alt=返回到分类 
      src="<%=basePath%>images/arrow-left-16x16.gif" width=16 border=0></A> </TD>
    <TD class=jive-icon-label><A 
      href="http://www.chinajavaworld.com/index.jspa?categoryID=1">论坛列表</A> 
  </TD></TR>
    <!--发表新主题以及返回论坛列表区 end-->
	
  </TBODY></TABLE></DIV><BR>
  
   <!--分页区 start-->
  <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
  <TBODY>
  <TR vAlign=top>
    <TD><NOBR>帖子: 150,041</NOBR> - <NOBR>主题: 36,261</NOBR> - <NOBR>过滤: <SELECT 
      class=jive-selbox onchange=location.href=options[selectedIndex].value; 
      size=1> <OPTION 
        value=forumfilter.jspa?forumID=20&amp;start=0&amp;filter=all 
        selected>所有主题</OPTION> <OPTION 
        value=forumfilter.jspa?forumID=20&amp;start=0&amp;filter=open>未解决的问题</OPTION> 
        <OPTION 
        value=forumfilter.jspa?forumID=20&amp;start=0&amp;filter=answered>已解决的问题</OPTION> 
        <OPTION 
      value=forum.jspa?forumID=20&amp;start=0&amp;isBest=1>精华区</OPTION></SELECT></NOBR> 
      - <SPAN class=nobreak>页数: 1,451 - <SPAN class=jive-paginator>[ <A 
      class=jive-current 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=0&amp;isBest=0">1</A> 
      <A class="" 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=25&amp;isBest=0">2</A> 
      <A class="" 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=50&amp;isBest=0">3</A> 
      <A class="" 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=75&amp;isBest=0">4</A> 
      <A class="" 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=100&amp;isBest=0">5</A> 
      | <A 
      href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=25&amp;isBest=0">下一页</A> 
      ] </SPAN></SPAN></TD></TR></TBODY></TABLE>
   <!--分页区 start-->
	  
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR vAlign=top>
    <TD width="99%">
	
	  
      <DIV class=jive-thread-list>
      <DIV class=jive-table>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" 
        summary="List of threads"><THEAD>
        <TR>
          <TH class=jive-first colSpan=3>主题 </TH>
          <TH class=jive-author><NOBR>作者 &nbsp; </NOBR></TH>
          <TH class=jive-view-count><NOBR>查看 &nbsp; </NOBR></TH>
          <TH class=jive-msg-count noWrap>回复 </TH>
          <TH class=jive-last noWrap>最后发表 </TH></TR></THEAD>
        <TBODY>
        
         <!--单个主题信息区 start-->
	   <%
	   	//得到存入主题信息的容器，使用循环显示主题内容
	   	ArrayList<Article> list = (ArrayList<Article>)request.getAttribute("articleList");
	   	String classString = null;
	   	
	   	for(int i=0; i<list.size(); i++){
	   	
	   		Article article = list.get(i);
	   		
	   		if (i % 2 == 0){
	   			classString = "jive-even";
	   		}else{
	   			classString = "jive-odd";	
	   		}
	    %>
	    
        <TR class=<%=classString %>>
          <TD class=jive-first noWrap width="1%">
            <DIV class=jive-bullet><IMG height=16 alt=读 
            src="<%=basePath%>images/read-16x16.gif" width=16 border=0> </ 
            div></DIV></TD>
          <TD noWrap width="1%">&nbsp; &nbsp; </TD>
          <TD class=jive-thread-name width="95%"><IMG 
            src="<%=basePath%>images/ico_top.gif" align=absMiddle> <A 
            id=jive-thread-1 
            href="<%=basePath %>servlet/GetArtDetailServlet?articleId=<%=article.getId() %>"><%=article.getTitle() %></A> 
           </TD>
          <TD class=jive-author noWrap width="1%"><SPAN class=""><A 
            href="http://www.chinajavaworld.com/profile.jspa?userID=28627"><%=article.getUser().getUserName() %></A> 
            </SPAN></TD>
          <TD class=jive-view-count width="1%">8,433 </TD>
          <TD class=jive-msg-count width="1%">32 </TD>
          <TD class=jive-last noWrap width="1%">
            <DIV class=jive-last-post><%=article.getPdate() %> <BR>最后发表: <A 
            title=jjj123456 
            href="http://www.chinajavaworld.com/thread.jspa?messageID=870489#870489">jjj123456 
            »</A> </DIV></TD></TR>
              <!--单个主题信息区 end-->
	  <%
	  }
	   %>
            
            </TBODY></TABLE>
      </DIV></DIV>
 	 
	  
	  <!--分页区 start-->
      <TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
        <TBODY>
        <TR>
          <TD width="99%">- <SPAN class=nobreak>页数: 1,451 - <SPAN 
            class=jive-paginator>[ <A class=jive-current 
            href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=0&amp;isBest=0">1</A> 
            <A class="" 
            href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=25&amp;isBest=0">2</A> 
            <A class="" 
            href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=50&amp;isBest=0">3</A> 
            <A class="" 
            href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=75&amp;isBest=0">4</A> 
            <A class="" 
            href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=100&amp;isBest=0">5</A> 
            | <A 
            href="http://www.chinajavaworld.com/forum.jspa?forumID=20&amp;start=25&amp;isBest=0">下一页</A> 
            ] </SPAN></SPAN></TD>
          <TD width="1%"><A 
            href="http://www.chinajavaworld.com/rss.jspa?feed=rss/rssmessages.jspa?forumID=20"></A> </TD>
        </TR></TBODY></TABLE>
		<!--分页区 end-->
		
      </TD>
    <TD width="1%">
      <FORM id=jive-searchform action=search.jspa>
      <DIV class=jive-portlet-box>
      <TABLE cellSpacing=0 cellPadding=3 width=200 border=0>
        <THEAD>
        <TR>
          <TH colSpan=2>搜索论坛 </TH></TR></THEAD>
        <TBODY>
        <TR>
          <TD class=jive-search-form width="99%"><INPUT type=hidden value=f20 
            name=objID> <INPUT id=q01 title="搜索论坛 (ALT+S)" style="WIDTH: 100%" 
            accessKey=s maxLength=100 name=q> </TD>
          <TD class=jive-search-form width="1%"><INPUT type=submit value=Go> 
          </TD></TR></TBODY></TABLE></DIV></FORM>
      <!-- BEGIN sidebar box 'POPULAR TAGS' -->
      <!-- END sidebar box 'POPULAR TAGS' --></TD>
  </TR></TBODY></TABLE></DIV><BR>
</BODY></HTML>


<%@ include file="end.jsp" %>
